package com.example.thymeleafdemo.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @ClassName TestController
 * @Description
 * @Author zhangsw
 * @Date 2020/12/23 9:20
 * @Version 1.0
 */
@Controller
public class TestController {

    @GetMapping("toIndex")
    public String toIndex() {
        return "index";
    }
}
